FROM python:3.10-slim
WORKDIR /app
ENV PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
COPY . /app
RUN pip install --upgrade pip && \
    pip install --no-cache-dir \
      "fastmcp>=2.5.1" \
      "python-dotenv>=1.1.0" \
      "openai>=1.82.0" \
      "requests>=2.32.3"
EXPOSE 8000
CMD ["python", "mcp_server.py"]
